# encoding: utf-8
# project: deep_learning
# file: pooling_3d.py
# time: 2024-12-13 14:47
# author: abcuqe
# license: copyright@ 2002-2024
# contact: abcque@outlook.com
# IDE: PyCharm
# description: 
import os
import tensorflow as tf
from keras.layers import MaxPooling3D

if __name__ == '__main__':
    os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

    x = tf.random.normal((1, 2, 10, 10, 1))
    print(x.shape)

    pooling = MaxPooling3D()
    y = pooling(x)
    print(y.shape)
